Skip to content

docs: merge cookiecutter page, add CI/CD and testing docs#41

Merged
ankurs merged 4 commits intomainfrom
docs/merge-cookiecutter-add-cicd
Mar 26, 2026
Merged

docs: merge cookiecutter page, add CI/CD and testing docs#41
ankurs merged 4 commits intomainfrom
docs/merge-cookiecutter-add-cicd

Conversation

@ankurs
Copy link
Copy Markdown
Member

@ankurs ankurs commented Mar 26, 2026

Summary

  • Replace standalone Cookiecutter Reference page with a redirect to Getting Started
  • Add CI/CD section to Getting Started (GitHub Actions + GitLab CI pipelines)
  • Add CI/CD row to home page "What You Get Out of the Box" table
  • Add new Testing how-to page (unit tests, mocks with mockery, benchmarks, coverage)
  • Update all 10 cookiecutter link references across howto and integrations pages
  • Update Playwright test expectations

Test plan

  • Verify /cookiecutter-reference redirects to /getting-started
  • Verify Getting Started page renders with new CI/CD section and updated file tree
  • Verify home page table shows CI/CD row
  • Verify new /howto/testing/ page renders correctly
  • Run npx playwright test — all navigation tests pass
  • Spot-check howto pages for working [ColdBrew cookiecutter] links

Summary by CodeRabbit

  • Documentation

    • Replaced the Cookiecutter reference with a redirect to Getting Started and updated related links across How-To guides.
    • Added a How-To: Testing page covering test execution, benchmarks, coverage, and mocks.
    • Expanded Quickstart with a mock generation step and a new section on preconfigured CI/CD pipelines (GitHub Actions and GitLab CI).
    • Added a CI/CD Pipelines entry on the home page with reference links.
  • Tests

    • Updated navigation tests to remove the old Cookiecutter page and include the new How-To: Testing page.

…d testing docs

- Replace Cookiecutter Reference page with redirect to Getting Started
- Add CI/CD section (GitHub Actions + GitLab CI) to Getting Started
- Add CI/CD row to home page "What You Get Out of the Box" table
- Add new Testing how-to (unit tests, mocks, benchmarks, coverage)
- Update all cookiecutter link references to point to /getting-started
- Update Playwright test expectations
Copilot AI review requested due to automatic review settings March 26, 2026 14:10
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 26, 2026

Warning

Rate limit exceeded

@ankurs has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 25 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1ad31636-59a1-4d1f-a972-cefe600c82ff

📥 Commits

Reviewing files that changed from the base of the PR and between 091dea1 and 4980473.

📒 Files selected for processing (6)
  • .github/workflows/jekyll.yml
  • .github/workflows/playwright.yml
  • Cookiecutter.md
  • howto/testing.md
  • quickstart.md
  • tests/navigation.spec.ts
📝 Walkthrough

Walkthrough

The PR consolidates Cookiecutter documentation by redirecting its dedicated reference page to Getting Started, updates link references across multiple howto pages from /cookiecutter-reference to /getting-started, adds a comprehensive new testing guide, documents preconfigured CI/CD pipelines in the index and quickstart, and updates navigation tests accordingly.

Changes

Cohort / File(s) Summary
Page Redirect
Cookiecutter.md
Converted from full template reference page to a redirect page (meta refresh) pointing to /getting-started/. Front matter updated to exclude from navigation and sitemap.
Link Updates to Getting Started
howto/APIs.md, howto/Log.md, howto/Tracing.md, howto/gRPC.md, howto/interceptors.md, howto/production.md, howto/signals.md, howto/swagger.md, howto/vtproto.md, integrations.md
Updated ColdBrew cookiecutter reference links from /cookiecutter-reference (or fragment variant) to /getting-started across 10 documentation pages.
New Testing Documentation
howto/testing.md
Added comprehensive new how-to guide covering test execution (make targets), test patterns using testify/assert, mock generation via mockery, benchmark writing, and coverage reporting with CI integration.
Index & Quickstart Updates
index.md, quickstart.md
Added CI/CD Pipelines feature entry to index with GitHub Actions and GitLab CI references; expanded quickstart with "Step 9: CI/CD" section describing preconfigured pipelines, added make mock target, and updated "What's Built In" checklist.
Navigation Tests
tests/navigation.spec.ts
Removed cookiecutter-reference route from topLevelPages; added "/howto/testing/" to howtoPages array for new testing documentation page.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

Possibly related PRs

Poem

🐰 Hop, hop—the docs take flight,
Links redirect to paths so bright,
Testing tales and CI so grand,
The getting-started sign now stands,
A clearer path for every hare!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: merging the cookiecutter reference page into getting-started and adding CI/CD and testing documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/merge-cookiecutter-add-cicd

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
tests/navigation.spec.ts (1)

15-30: ⚠️ Potential issue | 🟡 Minor

Add an explicit redirect test for /cookiecutter-reference/.

Line 29 adds new page coverage, but the suite no longer validates the redirect behavior called out in the PR objectives. Please add a dedicated redirect assertion so this behavior stays protected.

✅ Suggested test addition
 test.describe("Page Loading", () => {
+  test("cookiecutter reference redirects to getting-started", async ({ page }) => {
+    const response = await page.goto("/cookiecutter-reference/");
+    expect(response?.status()).toBe(200); // static-site redirect page may return 200
+    await expect(page).toHaveURL(/\/getting-started\/?$/);
+  });
+
   for (const page of topLevelPages) {
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@tests/navigation.spec.ts` around lines 15 - 30, Add a new explicit test in
tests/navigation.spec.ts that asserts the redirect behavior for
"/cookiecutter-reference/": locate the navigation test that iterates over
howtoPages (variable howtoPages) and add a separate case that visits
"/cookiecutter-reference/" and asserts the expected redirect target (status or
final URL/location) rather than relying on the generic pages list; ensure the
test uses the same test framework helpers/assertions as the other navigation
checks so the redirect behavior is covered independently from the howtoPages
array.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@Cookiecutter.md`:
- Around line 10-12: The page currently uses a client-side meta refresh (<meta
http-equiv="refresh" content="0; url=/getting-started/">) which is not an HTTP
redirect; remove that meta refresh line from Cookiecutter.md and configure a
proper 3xx redirect for the /cookiecutter-reference route in your hosting/server
config (e.g., Netlify/Vercel redirect, nginx/Apache rule, or static-site
redirect file) to point to /getting-started/, leaving the textual fallback
("This page has moved...") in Cookiecutter.md if you still want a human-readable
page.

In `@quickstart.md`:
- Around line 299-305: The doc currently lists the CI job "lint" as running
`make vulncheck` + golangci-lint while other sections reference `make lint`
(including govulncheck); pick one canonical command (preferably `make lint`) and
update the table entry and any other occurrences to match: ensure the Job column
entry "**lint**" and its description reference the single chosen make target
(`make lint`) and mention the tools it runs (golangci-lint and
govulncheck/vulncheck) consistently, and update any other lines that refer to
`make vulncheck` so all references use the same command name and tooling
description.

---

Outside diff comments:
In `@tests/navigation.spec.ts`:
- Around line 15-30: Add a new explicit test in tests/navigation.spec.ts that
asserts the redirect behavior for "/cookiecutter-reference/": locate the
navigation test that iterates over howtoPages (variable howtoPages) and add a
separate case that visits "/cookiecutter-reference/" and asserts the expected
redirect target (status or final URL/location) rather than relying on the
generic pages list; ensure the test uses the same test framework
helpers/assertions as the other navigation checks so the redirect behavior is
covered independently from the howtoPages array.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 147d597c-6b21-460e-8023-91d3db3042d9

📥 Commits

Reviewing files that changed from the base of the PR and between d462e0b and 091dea1.

📒 Files selected for processing (15)
  • Cookiecutter.md
  • Index.md
  • howto/APIs.md
  • howto/Log.md
  • howto/Tracing.md
  • howto/gRPC.md
  • howto/interceptors.md
  • howto/production.md
  • howto/signals.md
  • howto/swagger.md
  • howto/testing.md
  • howto/vtproto.md
  • integrations.md
  • quickstart.md
  • tests/navigation.spec.ts

Comment thread Cookiecutter.md Outdated
Comment thread quickstart.md
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the ColdBrew docs site to consolidate Cookiecutter guidance into Getting Started, add CI/CD and testing documentation, and keep internal links/tests aligned with the new structure.

Changes:

  • Replaced the Cookiecutter Reference page content with a redirect to Getting Started and updated all “ColdBrew cookiecutter” references.
  • Expanded Getting Started with CI/CD details (GitHub Actions + GitLab CI) and added a new Testing how-to page.
  • Updated the home page feature table and Playwright navigation expectations for the new docs page(s).

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tests/navigation.spec.ts Updates navigation coverage by removing Cookiecutter page and adding the new testing page path.
quickstart.md Adds CI/CD documentation, expands generated project tree, and links to the new Testing how-to.
integrations.md Updates Cookiecutter reference link to point at Getting Started.
howto/vtproto.md Updates Cookiecutter reference link to point at Getting Started.
howto/testing.md Adds a new Testing guide (unit tests, mockery, benchmarks, coverage).
howto/swagger.md Updates Cookiecutter reference link to point at Getting Started.
howto/signals.md Updates Cookiecutter reference link to point at Getting Started.
howto/production.md Updates Cookiecutter reference link to point at Getting Started.
howto/interceptors.md Updates Cookiecutter reference link to point at Getting Started.
howto/gRPC.md Updates Cookiecutter reference link to point at Getting Started.
howto/Tracing.md Updates Cookiecutter reference link to point at Getting Started.
howto/Log.md Updates Cookiecutter reference link to point at Getting Started.
howto/APIs.md Updates Cookiecutter reference link to point at Getting Started.
Index.md Adds CI/CD row to the “What You Get Out of the Box” table and supporting link refs.
Cookiecutter.md Converts the Cookiecutter Reference page into a redirect stub.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread quickstart.md
Comment thread howto/testing.md
Comment thread Cookiecutter.md Outdated
Comment thread tests/navigation.spec.ts
ankurs added 2 commits March 26, 2026 22:25
- Use layout: null with proper HTML head for cookiecutter redirect
- Add JS fallback for redirect
- Fix lint job description inconsistency (govulncheck, not make vulncheck)
- Clarify config.Get() vs config.GetColdBrewConfig() in testing how-to
- Add Playwright test for /cookiecutter-reference redirect
Comment thread .github/workflows/jekyll.yml Fixed
Comment thread .github/workflows/playwright.yml Fixed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ankurs ankurs merged commit 17bf356 into main Mar 26, 2026
11 checks passed
@ankurs ankurs deleted the docs/merge-cookiecutter-add-cicd branch March 26, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants